Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no longer necessary to call super().process_frame(frame, direction) #849

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

aconchillo
Copy link
Contributor

@aconchillo aconchillo commented Dec 12, 2024

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

It's no longer necessary to call super().process_frame(frame, direction) if you subclass and implement FrameProcessor.process_frame(). This is all now done internally and will avoid possible issues if you forget to add it.

@aconchillo
Copy link
Contributor Author

Btw, this is backwards compatible. If you call super().process_frame(frame, direction) will be a no op, which is fine.

@aconchillo aconchillo force-pushed the aleix/no-need-for-super-process-frame branch from d57213b to 3c3fd67 Compare December 12, 2024 21:03
Copy link
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Nice dev experience improvement!

@aconchillo aconchillo merged commit d8caf00 into main Dec 12, 2024
3 of 4 checks passed
@aconchillo aconchillo deleted the aleix/no-need-for-super-process-frame branch December 12, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants